﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace DB_NH.DB_Model.ywxt.TenderOffer
{
    /// <summary>
    /// 招标项目发售配置记录
    /// </summary>
    public class TenderOfferCfg : Entity
    {
        /// <summary>
        /// 发售配置标题
        /// </summary>
        public virtual string CfgTitle { get; set; }

        /// <summary>
        /// 销售开始时间
        /// </summary>
        public virtual DateTime BgnDate { get; set; }

        /// <summary>
        /// 销售结束时间
        /// </summary>
        public virtual DateTime EndDate { get; set; }

        /// <summary>
        /// 销售类型：
        /// 1、按总项
        /// 2、按标段
        /// </summary>
        public virtual int TypeFlag { get; set; }

        /// <summary>
        /// 操作员
        /// </summary>
        public virtual ywxt.t_sys_user OpUser { get; set; }

        /// <summary>
        /// 销售类型是按总项时的项目招标文件金额
        /// 如果配置类型是0，则设置为0
        /// </summary>
        public virtual decimal RootProjectOfferPrice { get; set; }

        /// <summary>
        /// 总项目的项目信息
        /// </summary>
         public virtual string RootProjectCode { get; set; }

        /// <summary>
        /// 明细
        /// </summary>
        public virtual IList<TenderOfferCfgDetail> Details { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Remark { get; set; }

        /// <summary>
        /// 其他说明
        /// </summary>
        public virtual string otherRemark { get; set; }

        /// <summary>
        /// 其他金额
        /// </summary>
        public virtual string otherMoney { get; set; }

        /// <summary>
        /// 公告信息
        /// </summary>
        public virtual IList<ProjectAnnouncement.ProjectAnnouncement> projAnnouncements { get; set; }


        public TenderOfferCfg()
        {
            Details = new List<TenderOfferCfgDetail>();
            projAnnouncements = new List<ProjectAnnouncement.ProjectAnnouncement>();
        }

    }
}
